<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <% var data = [{
            path:"/",
            title:"首页",
            icon:"fa-home"
        },{
            path:"/goods",
            title:"商品信息",
            icon:"fa-shopping-cart"
        },{
            path:"/banner",
            title:"轮播图",
            icon:"fa-file-image-o"
        },{
            path:"/users",
            title:"用户信息",
            icon:"fa-user"
        },{
            path:"/order",
            title:"订单",
            icon:"fa-suitcase"
        },{
            path:"/message",
            title:"信息",
            icon:"fa-info"
        }] %>
        <!-- Sidebar Menu -->
        <ul class="sidebar-menu" data-widget="tree">
            <% for(var i=0;i<data.length;i++){ %>
                <li class="<%= index===i ? 'active' : '' %>"><a href="<%= data[i].path %>"><i class="fa <%= data[i].icon %>"></i> <span><%= data[i].title %></span></a></li>
            <% } %>
        </ul>
        <!-- /.sidebar-menu -->
    </section>
    <!-- /.sidebar -->
</aside>